<table border="1" cellspacing="2" cellpadding="3" style="margin:10px 0" class="library">
  <tr style="background:pink">
    <td>月份</td>
    <td>累计</td>
    <td>当月新增</td>
  </tr>
  <% stat.each do |m| -%>
    <tr>
      <td><%= m[:name] %></td>
      <td><%= m[:sum] %></td>
      <td><%= m[:delta] %></td>
    </tr>
  <% end -%>
</table>